package com.hzdaba.aiapi.service.impl;

import com.hzdaba.aiapi.mapper.AiWitheListMapper;
import com.hzdaba.aiapi.service.AiWitheListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AiWitheListServiceImpl implements AiWitheListService {


    /**
     * 访问白名单数据
     */
    @Autowired
    private AiWitheListMapper aiWitheListMapper;

    @Override
    public Integer countEffectiveAiWitheList(String ipAddress, Integer aiCustomerId, Long now) {
        return this.aiWitheListMapper.countEffectiveAiWitheList(ipAddress, aiCustomerId, now);
    }

}
